<?php
$this->placeholder("navegacion")->set($this->navegacion($this->nav));

$domConfig = Zend_Registry::get('domConfig');
$perfil = App_Perfil::getInstance();
$perfil->cargar("MISVARIABLES");

$periodicidad = $this->variable["periodicidad"];
$tipovalor = ($this->variable["tiponaturaleza"]==1)?"valornum":"valortexto";

?>
<br/>
<table width="100%" align="center" class="iceDatTbl">
<tr>
	<th>Dimensi&oacute;n</th>
	<th>Periodicidad</th>
	<th>Unidad</th>
</tr>
 <TR class="iceDatTblRow1">
   <TD style="text-align:center;"><?php echo $this->variable["nombrevariable"];?></TD>
   <TD style="text-align:center;"><?php echo $domConfig->PERIODICIDAD->$periodicidad;?></TD>
   <TD style="text-align:center;"><?php echo $this->dimension[0]["nombreunidad"];?></TD>
 </TR>
</table>
<br/>
<BR></BR>
<div style="width: 800px" class="center-block">
<?php
    echo $this->form;
?>
</div>

<script type="text/javascript">
$(function() {
	<?php if($this->variable["tiponaturaleza"]==1): ?>
			 $('#codescala').closest("div.form-group").hide();
	<?php else :?>
			$('#codescala').closest("div.form-group").show();
	<?php endif;?>
});
</script>
